package com.ffdms.mobileoffice;


import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;

public class ProjectActivity extends Activity {
	private TextView tv_title;
	private Button btn_return;
	private Button btn_popup;
	private TextView tv_notice_title2;
	private TextView tv_notice_time2;
	private TextView tv_notice_content2;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);

		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_project);

		tv_title = (TextView) findViewById(R.id.tv_title);
		tv_title.setText("");

		btn_return = (Button) findViewById(R.id.btn_return);
		btn_return.setVisibility(View.VISIBLE);
		btn_return.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				finish();
			}
		});

		btn_popup = (Button) findViewById(R.id.btn_popup);
		btn_popup.setText("编辑");
		btn_popup.setOnClickListener(new OnClickListener() {		
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
			}
		});

		tv_notice_title2 = (TextView) findViewById(R.id.tv_plan_base_section);
		tv_notice_time2 = (TextView) findViewById(R.id.tv_notice_time2);
		tv_notice_content2 = (TextView) findViewById(R.id.tv_notice_content2);
		String title = getIntent().getStringExtra("title");
		tv_notice_title2.setText(title);
		String time = getIntent().getStringExtra("time");
		tv_notice_time2.setText(time);
		String content = getIntent().getStringExtra("content");
		tv_notice_content2.setText(content);
	}
}
